<template>
  <router-view />
</template>

<script>
export default {
  name: "App",
};
</script>

<style lang="scss">
:root {
  --primary-color: #409eff;
  --success-color: #67c23a;
  --warning-color: #e6a23c;
  --danger-color: #f56c6c;
  --background-color: #f0f2f5;
  --text-color: #303133;
  --text-color-secondary: #909399;
  --border-color: #dcdfe6;
  --header-background: #00152a;
  --menu-background: #00152a;
  --menu-text-color: #fff;
  --menu-active-color: #409eff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

.left-container {
  width: 240px;
  height: 100%;
  border-right: 12px solid #f0f2f5;
  box-sizing: border-box;
  padding: 16px 8px;
  padding-left: 0;

  .title {
    font-size: 16px;
    font-weight: 700;
    color: #303133;
    margin-bottom: 12px;
  }
  .search {
    margin-bottom: 12px;
  }
  .station-list {
    font-size: 14px;
    .station-item {
      padding: 8px 12px;
      cursor: pointer;
    }
    .active {
      color: #409eff;
      font-weight: 700;
    }
    .station-item:hover {
      background-color: #f0f2f5;
    }
  }
}
.update_icon {
  width: 50px;
  cursor: pointer;
  vertical-align: middle;
}

.delete_icon {
  width: 50px;
  cursor: pointer;
  margin-left: 5px;
  vertical-align: middle;
}

.success_icon {
  width: 28px;
  margin-right: 5px;
  vertical-align: middle;
}

// 导出框样式
.export-drawer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  .export-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
  }
  .export-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 0;
    box-sizing: border-box;
  }
  .export-footer {
    display: flex;
    justify-content: flex-end;
  }
}

.right-box {
  flex: 1;
  height: 100%;
  padding: 12px;
  padding-left: 12px;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  gap: 12px;
  .split-line {
    width: 100%;
    height: 1px;
    background-color: #f0f2f5;
  }
  .panel {
    display: flex;
    gap: 12px;
    .panel-item {
      flex: 1;
      min-height: 70px;
      border-radius: 4px;
      border: 1px solid #71bef6;
      padding: 4px 8px;
      color: #0c96fb;
      background: #e5f8ff;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      .title {
        font-size: 14px;
        font-weight: 700;
        text-align: center;
      }
      .content {
        display: flex;
        align-items: center;
        justify-content: space-around;
        font-size: 12px;
        .num {
          font-weight: bold;
          font-size: 18px;
        }
      }
    }
  }
}
</style>
